package com.igl.talk.android.client.core.model;
/*
 * @author Filip Jerzyna
 * @author Adam Wieczorek 
 *
 * 26/03/2014
 *
 * All rights reserved.
 */

public class MessageModel {

    private UserModel user;
    private String content;

    public MessageModel(UserModel user, String content) {
        this.user = user;
        this.content = content;
    }

    public MessageModel(String user, String content) {
        this.user = new UserModel(user);
        this.content = content;
    }

    public UserModel getUser() {
        return user;
    }

    public void setUser(UserModel user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return content;
    }
}
